package basic;

public class J01_FoodNara {

	public static void main(String[] args) {
	 String drink, chi, tot, vat, atot, mon, otsu, line;

	 
	 int dprice, cprice, dcount, ccount, mon2;
	 
	 drink ="소주";
	 chi = "너나치킨";
	 dprice = 3000;
	 cprice = 12000;
	 dcount = 2;
	 ccount = 1;
	 mon2 = 50000;
	 tot="과세합계";
	 vat="부가세";
	 atot="총합계";
	 mon="받은금액";
	 otsu="잔돈";
	 line="-------------------------------------";
	 
	 System.out.println("[  음식나라  ]");
	 System.out.println(line);
	 System.out.println(drink+"\t"+dcount+"\t\t"+dprice*dcount+"원");
	 System.out.println(chi+"\t"+ccount+"\t\t"+cprice*ccount+"원");
	 System.out.println(line);
	 System.out.println(tot+"\t\t\t"+(dprice*dcount+cprice*ccount)+"원");
	 System.out.println(vat+"\t\t\t"+(dprice*dcount+cprice*ccount)/10+"원");
	 System.out.println(line);
	 System.out.println(atot+"\t\t\t"+(dprice*dcount+cprice*ccount)+"원");
	 System.out.println(mon+"\t\t\t"+mon2+"원");
     System.out.println(otsu+"\t\t\t"+(mon2-(dprice*dcount+cprice*ccount))+"원");
	 System.out.println(line);
	 

	 
	 

	}

}
